<?php
/**
 * (c) Copyright 2014 hebidu. All Rights Reserved. 
 */

namespace Admin\Controller;
use Shop\Api\FinAccountBalanceHisApi;
use Recruit\Api\CommonMemberApi;

class IndexController extends AdminController {

	//首页
    public function index(){
        //做一个登录页显示区分
        $map['common_member.uid'] = UID;
        $info = apiCall(CommonMemberApi::JOIN_RULES_GET,array($map));
        if($info['status']){
            if($info['info']['title'] == '学校' || $info['info']['title'] =='政府' ||$info['info']['title'] == '企业'){
                $this->assign($info['info']);
                $this->display('specialindex');
            }else{
                $this->display();
            }
        }else{
            $this->display();
        }

    }

    /**
     * 交易首页
     */
    public function tradeIndex(){

		$this->display();
    }

    /**
     * 分销首页
     */
    public function distribution(){
       $this->display();
    }
}